
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using System;

namespace Timetable.Base.Entities
{
    [DataContract(IsReference = true)]
    public class TutorialType : BaseEntity
    {
        [DataMember]
        public string Name { get; set; }
        
        public Types Type
        {
            get { return (Types)Id; }
        }

        public virtual ICollection<Auditorium> AuditoriumApplicabilities { get; set; }
    }

    public enum Types
    {
        Lecture=1,
        Practice=2,
        Lab=3
    }
}
